package com.liqi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取集群配置
 * 
 * @author admin
 * 
 */
@Component
@ConfigurationProperties(prefix = "cluster")
public class ClusterConfig {
	/**集群机器编码  */
	private static String machineCode;

	public static String getMachineCode() {
		return machineCode;
	}

	public void setMachineCode(String machineCode) {
		ClusterConfig.machineCode = machineCode;
	}

	
    
    
}
